package com.zenith.api.po.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class RegisterDTO {

    @Schema(description = "密码")
    private String password;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "角色")
    private String role;
    
    // 手动添加getter方法，确保可以被访问
    public String getPassword() {
        return password;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public String getAvatar() {
        return avatar;
    }
    
    public String getRole() {
        return role;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    
    public void setRole(String role) {
        this.role = role;
    }
}